import Packet from "../net/Packet"

// 账号登录成功
export default class AccountLoginOk {
	/**

	 */
	public constructor() { }

	public encode(): Packet {
		const packet = this._encode()
		packet.Encode(2020)
		return packet
	}

	public encodeMsg(): ByteBuffer {
		return this._encode().GetBuffer()
	}

	public static decode(packet: Packet): AccountLoginOk {
		return new AccountLoginOk()
	}

	private _encode(): Packet {
		const packet = new Packet()
		return packet
	}
}
